package dahuiji.common.entity;

import java.util.Date;

public class User {
	private Long id;
	private String name;
	private String password;
	private String address;// 用户常驻地
	private Date registDate;
	private String sex;
	private int age;
	private String work;// 用户工作
	private String email;
	private Long lineid;

	public User() {
	}

	public User(String name, String password, String address, Date registDate,
			String sex, int age, String work, String email) {
		this.name = name;
		this.password = password;
		this.address = address;
		this.registDate = registDate;
		this.sex = sex;
		this.age = age;
		this.work = work;
		this.email = email;
	}

	/**
	 * 注册时的构造方法
	 * 
	 * @param name
	 * @param password
	 * @param email
	 */
	public User(String name, String password, String email) {
		this.name = name;
		this.password = password;
		this.email = email;
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getRegistDate() {
		return registDate;
	}

	public void setRegistDate(Date registDate) {
		this.registDate = registDate;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getLineid() {
		return lineid;
	}

	public void setLineid(Long lineid) {
		this.lineid = lineid;
	}

}
